home *** CD-ROM | disk | FTP | other *** search
/ Aminet 2 / Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso / Aminet / os20 / wb / FileView13.lha / FileView.doc < prev    next >
Text File  |  1993-05-17  |  5KB  |  121 lines

  1.  
  2. NAME
  3.   FileView - AppIcon link to file viewer.  WB2.0 and above only.
  4.  
  5. SYSNOPSIS
  6.   FileView AppName/S
  7.  
  8. DESCRIPTION
  9.   Fileview sets up an AppIcon on the Workbench window.  When a file is
  10. dropped onto this icon  it will attempt to load it  into whatever file
  11. viewer is specified by the user.
  12.  
  13. STARTING
  14.   CLI -  To run the program from CLI, use the command
  15.                run <NIL: >NIL: FileView 'AppName'
  16.          where 'AppName' is the name that you want to appear  with the
  17.          AppIcon.
  18.   WorkBench - The  easiest  way is to  put  the file  in the WBStartup
  19.               drawer.  The AppIcon will get it's name from the name of
  20.               the program.
  21.   NOTES:
  22.        For both of the  above options for  starting, the  program will
  23.        try to find an attached .info file to use as the AppIcon image.
  24.        If this is not found, it  will resort to the default  icon.  At
  25.        current the supplied icon is not  at all pretty, due to  a huge
  26.        lack of artistic talent on my part.  Any better icons should be
  27.        sent to me at the address  below, and if I like them they will
  28.        be put in the next release and the artist credited accordingly.
  29.  
  30.        Also, the file  viewer that is  used is  decided in one  of two
  31.        ways.  Firstly, the progran looks for an environmental variable
  32.        called TextViewer.  If this is set, the program will try to use
  33.        the viewer  names within.  If the  variable is not set, it will
  34.        try to  use the  default of SYS:Utilities/More.  The textviewer
  35.        can be set by putting the following line in your startup:
  36.  
  37.              setenv TextViewer 'ViewerName'
  38.  
  39.        where 'ViewerName' is the name AND FULL PATH of the viewer that
  40.        you wish to use eg/ C:PPMore or SYS:Utilities/MultiView.
  41.        Alternatively,  do the 'setenv'  command from a  shell and then
  42.        type:
  43.  
  44.              copy Env:TextViewer EnvArc:
  45.  
  46.        This will then have set the variable in a more 'permanent' way,
  47.        and to change it you will have to do the same steps again.
  48.  
  49.         Alternatively, you can set the viewer of your choice from the
  50.         interface within the  viewer itself.   To get to this, double
  51.         click on the AppIcon.  The 'Use' button will save your choice
  52.         to Env:,  and 'Save'  will save  it to both Env: and EnvArc:.
  53.         The close  gadget will close the window, ignoring any changes
  54.         made but not quitting the program.
  55.  
  56.  
  57. OPTIONS
  58.   AppName/S    This is the name that you  wish the viewer icon to have
  59. when it appears on the  Workbench screen.  If  running from Workbench,
  60. it will inherit the name of the program itself.
  61.  
  62. FILES
  63.   FileView            - The program itself
  64.   FileView.info       - An icon file for the AppIcon
  65.   FileView.doc        - This documentation file...
  66.   FileView.doc.info   - ... and it's icon
  67.   FileView.guide      - The AmigaGuide documentation file...
  68.   FileView.guide.info - ... and it's icon
  69.  
  70. NOTES
  71.   This command has a WB2.04 version string which can be viewed using
  72.    version FileView
  73.  
  74.  
  75. BUGS
  76.   None known,  though not tested under  all situations (tested under
  77. kickstarts 37.173 and 39.106).
  78.  
  79. AUTHORS
  80.         V1.0 written by James McDonald and Mark McPherson
  81.         11th January 1993.
  82.  
  83.         V1.1 updated by James McDonald.
  84.         Added requester for confirmation of quitting.
  85.  
  86.         V1.2 updated by James McDonald.
  87.         Fixed a bug  in the default choice of file viewer, and also solved
  88.         a problem with the program not picking the default AppIcon when it
  89.         could not find it's own icon.
  90.         Added the AmigaGuide documentation to the distribution.
  91.  
  92.         V 1.3 updated by Janes McDonald.
  93.         Added a better interface  to the system, and  tidied it up  a bit.
  94.         _Really_ fixed the bug with the AppIcon problem.
  95.  
  96.   Versions 1.0 - 1.3 written in C.
  97.  
  98. SEE ALSO
  99.    None.
  100.  
  101. DISTRIBUTION
  102.   All code is copyright 1993 Mark McPherson and James McDonald.  It is
  103. freely distributable and can be copied freely.  It may not be modified
  104. and I ask that this documentation  file accompanies  the main program.
  105. It must not  be  sold  or  included  on  any  disk  that  will be sold
  106. commercially,  without my permission  (James McDonald).  Commodore has
  107. this permission already.  Please send any comments, bug reports, ideas
  108. for enhancements etc to me at:
  109.  
  110.    James McDonald
  111.    5 Rotherfield Avenue
  112.    Bexhill-On-Sea
  113.    East Sussex
  114.    England
  115.    TN40 1SY
  116.  
  117. or Internet:   jgm@dcs.ed.ac.uk     (James McDonald)
  118.                msm@ukc.ac.uk        (Mark McPherson)
  119.  
  120. Written and (C) 1993 by James McDonald, Mark McPherson.
  121.